package org.csu.mybigpro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.mybigpro.domain.Exam;

import java.util.List;

public interface ExamService extends IService<Exam> {

    // 保存试卷信息
    void saveExam(Exam exam);

    Exam getExamById(Long id);
    List<Exam> getAllExams();
    void updateExam(Exam exam);
    void deleteExam(Long id);
    List<Exam> getExamByName(String examName);

}
